package cn.itcast.mapper;

import cn.itcast.entity.Note;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface NoteMapper {
    @Insert("insert into order_note (order_id,user_id,be_sent_phone,note_signature,note_template,send_status,send_time)" +
            " values (#{orderId},#{userId},#{beSentPhone},#{noteSignature},#{noteTemplate},#{sendStatus},#{sendTime});")
    void add(Note note);
}
